This compiler predefines new macros to aid in writing architecture-independent code.
__ARCHITECTURE__
In addition to the existing predefines which identify specific target architectures (for example, m68k , i386 ), the compiler also predefines the macro __ARCHITECTURE__ to be a string constant identifying the target architecture ("m68k", "i386"). This macro is used by system header files to include the architecture-specific files without having to enumerate all supported architectures.
__BIG_ENDIAN__
__LITTLE_ENDIAN__
The compiler predefines either __BIG_ENDIAN__ or __LITTLE_ENDIAN__ , as appropriate for the target architecture.